﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BlogAppExt.Models
{
    /// <summary>
    /// BlogPost object for storing blogs
    /// </summary>
    public class BlogPost : BlogItem
    {
        /// <summary>
        /// BlogPost object for storing blogs
        /// </summary>
        /// <param name="userId">User ID of the blogger</param>
        /// <param name="title">Title of the blog</param>
        /// <param name="text">Content text of the post</param>
        public BlogPost(int userId, string title, string text)
        {
            userID = userId;
            Title = title;
            Text = text;
        }
    }
}